package errcode

var (
	ErrorGetUserFail                = NewError(20010001, "获取用户失败")
	ErrorGetUserListFail            = NewError(20010002, "获取用户列表失败")
	ErrorCreateUserFail             = NewError(20010003, "创建用户失败")
	ErrorUpdateUserFail             = NewError(20010004, "更新用户失败")
	ErrorDeleteUserFail             = NewError(20010005, "删除用户失败")
	ErrorGetCategoryListFail        = NewError(20020001, "获取图片分类失败")
	ErrorCreateCategoryFail         = NewError(20020002, "创建图片分类失败")
	ErrorUpdateCategoryFail         = NewError(20020003, "更新图片分类失败")
	ErrorDeleteCategoryFail         = NewError(20020004, "删除图片分类失败")
	ErrorGetDetailFail              = NewError(20030001, "获取图片详细信息失败")
	ErrorGetDetailListFail          = NewError(20030002, "获取图片详细信息列表失败")
	ErrorCreateDetailFail           = NewError(20030003, "创建图片详细信息失败")
	ErrorUpdateDetailFail           = NewError(20030004, "更新图片详细信息失败")
	ErrorDeleteDetailFail           = NewError(20030005, "删除图片详细信息失败")
	ErrorUploadFileFail             = NewError(20040001, "上传文件失败")
	ErrorGetCommentListFail         = NewError(20050001, "获取图片评论失败")
	ErrorCreateCommentFail          = NewError(20050002, "创建图片评论失败")
	ErrorUpdateCommentFail          = NewError(20050003, "更新图片评论失败")
	ErrorDeleteCommentFail          = NewError(20050004, "删除图片评论失败")
	ErrorToggleLikeListFail         = NewError(20060001, "更新点赞失败失败")
	ErrorGetLikeFail                = NewError(20060002, "获取图片点赞失败")
	ErrorGetFavoriteFail            = NewError(20070001, "获取收藏夹失败")
	ErrorGetFavoriteListFail        = NewError(20070002, "获取收藏夹列表失败")
	ErrorCreateFavoriteFail         = NewError(20070003, "创建收藏夹失败")
	ErrorUpdateFavoriteFail         = NewError(20070004, "更新收藏夹失败")
	ErrorDeleteFavoriteFail         = NewError(20070005, "删除收藏夹失败")
	ErrorGetFavoritePictureFail     = NewError(20080001, "获取收藏夹图片详细信息失败")
	ErrorGetFavoritePictureListFail = NewError(20080002, "获取收藏夹图片详细信息列表失败")
	ErrorCreateFavoritePictureFail  = NewError(20080003, "创建收藏夹图片详细信息失败")
	ErrorUpdateFavoritePictureFail  = NewError(20080004, "更新收藏夹图片详细信息失败")
	ErrorDeleteFavoritePictureFail  = NewError(20080005, "删除收藏夹图片详细信息失败")
)
